<?= $this->element('back') ?>

<? if((int)@$data['Repertoire']['id']>0): ?>
	<h1><?= strtotitle(__('edit')) ?></h1>
<? else: ?>
	<h1><?= strtotitle(__('new')) . ' ' . __('Repertoire') ?></h1>
<? endif; ?>

<?= $this->Form->create('Repertoire', array('url'=>'/repertoire/save')) ?>
	<?= $this->App->input('id', 'hidden', @$data['Repertoire']['id']) ?>
	
    <?= $this->App->input('name', 'text', @$data['Repertoire']['name'], array('class'=>'large', 'required'=>false)) ?>
    <?= $this->App->input('composer', 'text', @$data['Repertoire']['composer'], array('class'=>'large')) ?>
    <?= $this->App->input('created_in', 'text', @$data['Repertoire']['created_in'], array('class'=>'large')) ?>
	
<?= $this->Form->end(strtotitle(__('save'))) ?>